package com.hsc.www.mybatis.soEasy.ee.crudMapper;


import com.hsc.www.mybatis.soEasy.ee.rr.BaseExample;

import java.io.Serializable;

public interface DeleteMapper<ID extends Serializable, Entity, Example extends BaseExample> extends DeleteBaseMapper<ID, Entity, Example> {

    default int deleteByEntity(Entity entity) {
        return deleteByEntity(entity, getDefaultStrategy());
    }
}
